using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Customer
/// </summary>
public class Person
{
    #region fields
    int id;
    string name;
    DateTime dateOfBirth;   
    string address;
    string phone;
    string email;
    string city;
    string country;
    string username;
    string password;
    int role;
    DateTime lastLogin;

    #endregion

    #region constructors
    public Person()
	{
        id=-1;
        name="";
        address = "";
        email = "";
        phone = "";
        country = "";
        city = "";
        username = "";
        password = "";
        role = -1;
        lastLogin = DateTime.Today;
        dateOfBirth =DateTime.Today;
    }
    #endregion

    #region properties
    public int ID
    {
        get { return id; }
        set { id = value; }
    }
    public string Name
    {
        get { return name; }
        set { name = value; }
    }
    public DateTime DateOfBirth
    {
        get { return dateOfBirth; }
        set { dateOfBirth = value; }
    }
    public string Address
    {
        get { return address; }
        set { address = value; }
    }
    public string Country
    {
        get { return country; }
        set { country = value; }
    }
    public string City
    {
        get { return city; }
        set { city = value; }
    }
    public string Email
    {
        get { return email; }
        set { email = value; }
    }
    public string Phone
    {
        get { return phone; }
        set { phone = value; }
    }
    public string Username
    {
        get { return username; }
        set { username = value; }
    }
    public string Password
    {
        get { return password; }
        set { password = value; }
    }
    public DateTime LastLogin
    {
        get { return lastLogin; }
        set { lastLogin = value; }
    }
    public int Role
    {
        get { return role; }
        set { role = value; }
    }
    #endregion

    #region methods
    #endregion

}
